html, body{
	margin: 0;
	padding: 0;
	font-size: 16px;
	color: #205D67;
	width: 100%;
}

.nav-background{
	background-color: #1891AC;
}

nav{
	position: fixed;
	transition: 1s ease-in-out;
	display: flex;
	flex-direction: row;
	width: 100%;
	height:70px;
	box-sizing: border-box;
	align-items: center;
	text-align: center;
	z-index: 999;
}

.nav-title{
	width:20%;
	font-size: 2rem;
	font-weight: bold;
}

.nav-title a{
	text-decoration: none;
	transition: 1s ease-in-out;
	color: #F2F7FF;
}

.nav-title a:hover{
	color:#fff;
}


.nav-list{
	width:60%;
	transition: 1s ease-in-out;
}

.nav-list ul{
	margin: 0;
	padding: 0;
	display: flex;
}

.nav-list ul a{
	display: block;
	text-decoration: none;
	width:10%;
	color: #F2F7FF;
}

.nav-list ul a li{
	list-style: none;
	transition: 1s ease-in-out;
}

.nav-list ul a li:hover{
	color: #fff;
}

.nav-login{
	width:20%;
	transition: 1s ease-in-out;
	display: flex;
	justify-content: center;

}

.nav-login div{
	margin: 0 6%;
	transition: 1s ease-in-out;
}

.nav-login div a{
	text-decoration: none;
	color: #F2F7FF;
}

.nav-login div:hover{
	color: #fff;
}

.nav-login div:hover > a{
	color: #fff;
}


.nav-user{
	transition: 1s ease-in-out;
	display: flex;
	align-items: center;
	width:20%;
}

.nav-user a img{
	width: 60px;
	height:60px;
	border-radius: 50%
}

.quit{
	margin-left: 10%;
}

.quit a{
	text-decoration: none;
	color:#F2F7FF;
}

.quit a:hover{
	text-decoration: none;
	color:#fff;
}

.shadow{
	width: 100%;
	height: 100%;
	position: fixed;
	background-image: url(../images/ma.jpg);
	background-size:cover;
	background-repeat: no-repeat;
}

article{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.3);
}

.mainbody-first{
	padding-top:150px;
	width:100%;
	text-align: center;
	color: #ccc;
	height: 100%;
}

.mainbody-first div{
	box-sizing: border-box;
	margin-top: 2%;
}

.mainbody-second{
	display: flex;
	background-color: #fff;
	flex-direction: row;
	justify-content: center;
	background: #F5F7FA;
}

.item{
	display: block;
	text-align: center;
	width:15%;
	height: 15vw;
	font-size: 2rem;
	color: #fff;
	box-sizing: border-box;
	background-color: skyblue;
	border-radius: 50%;
	margin: 50px 5%;
	transition: 1s ease-in-out;
}

.item div{
	width: 100%;
	height: 100%;
	margin-top: 50%;
	transform: translateY(-1rem);
}

.item:hover{
	box-shadow: 0 0 20px #ccc;
	transform: rotate(360deg);
	cursor: pointer;
	text-decoration: none;
}

.item2{
	background: #96D38C;
}

.item3{
	background: #B793E6;
}

.mainbody-third{
	background-color: #fff;
	padding:10px 5%;
}

.row-dir{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin: 20px 0;
}

.row-dir div{
	width:50%;
	box-sizing: border-box;
	padding: 5%;
	text-align: center;
	font-size: 1.5rem;
}

.row-dir div p{
	width:100%;
	height: 100%;
	padding-top: 50%;
	transform: translateY(-25%);
}

.row-dir div img{
	width: 70%;
	height:300px;
}

.mainbody-second{

}

footer{
	padding: 5%;
	background: #fff;
	width:100%;
	text-align: center;
}

.foot-word{
	font-size: 2rem;
}

footer div{
	padding: 3% 0 0.5% 0;
}

@media (max-width:768px){
	nav{
		flex-direction: column;
		width: 100%;
		height: auto;
		text-align: left;
	}

	.nav-title{
		width:100%;
	}

	.nav-title a:hover{
		color: #fff;
	}

	.nav-list{
		width:100%;
		display: none;
	}

	.nav-list ul{
		flex-direction: column;
	}

	.nav-list ul a{
		width:100%;
	}

	.nav-list ul a li{
		line-height: 40px;
		padding: 0 2%;
	}

	.nav-list ul a li:hover{
		color: #fff;
		background: #506E86;
	}
	.nav-login{
		display: none;
		width:100%;
		flex-direction: column;
		line-height: 40px;
	}

	.nav-login div{
		margin: 0;
	}

	.nav-login div a{
		margin: 0 2%;
		text-decoration: none;
		width: 100%;
	}

	.nav-login div:hover{
		background: #506E86;
	}

	.nav-login div:hover > a{
		color: #fff;
	}


	.nav-user{
		display: none;
		width:100%;
	}

	.nav-user:hover{
		background: #506E86;
	}

	.nav-user a img{
		width: 50px;
		height:50px;
		border-radius: 50%
	}

	.quit{
		margin-left: 2%;
	}

}

